31
General discussions / Re: SFMLEasy - Compile the lib quickly
« on: July 21, 2014, 03:37:26 pm »
It's possible java launching another program that your antivirus is having issue with. Or that it simply is false-alarming something cmake does. Anti-viruses and development tools tend not to get along, so personally I just do all development in one folder and have my Anti-Virus set to disable looking in my development folder. Perhaps not the safest of options, but since otherwise every antivirus I've found eventually trips over something to do with compilation or running self-compiled programs...
As for this as a tool, well...for SFML alone it's two lines of cmake in the command line:
More value would be in a generic tool that can support multiple libraries and compilers with caching and such, kinda like a NuGet for C++. I wrote the start of one for my university coursework, really need to pick it back up and get back to work on it (been a bit busy as of late with the job hunting and graduation from said university)...
As for this as a tool, well...for SFML alone it's two lines of cmake in the command line:
Code: [Select]
cmake ${SFML_DIR} -G "${GENERATOR}" -DCMAKE_BUILD_TYPE="${BUILD_MODE}" -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}"
cmake --build . --config ${BUILD_MODE} --target install
More value would be in a generic tool that can support multiple libraries and compilers with caching and such, kinda like a NuGet for C++. I wrote the start of one for my university coursework, really need to pick it back up and get back to work on it (been a bit busy as of late with the job hunting and graduation from said university)...