diff --git a/CMakeLists.txt b/CMakeLists.txt index 972d416b..cf4b6dd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,6 @@ include(cmake/licenses.cmake) # set Standerd build type to Release set(CMAKE_BUILD_TYPE_INIT "Release") -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Variables -------------------------------------------------------------------- @@ -44,6 +43,7 @@ if (UNIX) endif () # Project ---------------------------------------------------------------------- + project(${PROJECT_NAME}) #RPATH @@ -55,6 +55,8 @@ if(UNIX AND NOT APPLE) include(cmake/external.cmake) endif() +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # Clang ------------------------------------------------------------------------ if (UNIX AND APPLE) diff --git a/script/clean.sh b/script/clean.sh index 65308b01..7cda845b 100755 --- a/script/clean.sh +++ b/script/clean.sh @@ -33,6 +33,12 @@ rm -rf bin/lib/Debug rm -rf bin/lib/Release rm -rf bin/test/Debug rm -rf bin/test/Release +rm -rf bin/gen +rm -rf bin/lib +rm -rf bin/lib_gui +rm -rf bin/lib_license +rm -rf bin/lib_parser +rm -rf bin/license_generator # Remove log files find bin/test/data/log -type f -name 'log*' -delete