-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from martim01/development
Development
- Loading branch information
Showing
177 changed files
with
2,067 additions
and
128,224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
project(InitialSetup LANGUAGES CXX VERSION 1.0.0.0) | ||
|
||
execute_process(COMMAND ${CMAKE_COMMAND} -DNAMESPACE=${PROJECT_NAME} -DMAJOR=${PROJECT_VERSION_MAJOR} -DMINOR=${PROJECT_VERSION_MINOR} -DPATCH=${PROJECT_VERSION_PATCH} -P ${CMAKE_SOURCE_DIR}/version.cmake) | ||
|
||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) | ||
|
||
include_directories("../pambase/") | ||
include_directories(${CMAKE_BINARY_DIR}/include) | ||
|
||
link_directories("../lib") | ||
|
||
set(SOURCES "InitialSetupApp.cpp" "InitialSetupMain.cpp" ${CMAKE_BINARY_DIR}/src/${PROJECT_NAME}_version.cpp) | ||
|
||
add_executable(InitialSetup ${SOURCES}) | ||
|
||
list(APPEND flags "-fPIC" "-Wall" "-fpermissive" "-O3") | ||
target_compile_options(InitialSetup PRIVATE ${flags}) | ||
target_compile_definitions(InitialSetup PUBLIC NDEBUG DLL_EXPORTS wxUSE_UNICODE __WXGNU__ CREATING_LEVELDLL _app_ _MSL_STDINT_H) | ||
|
||
#find external libraries | ||
find_package(wxWidgets REQUIRED) | ||
include(${wxWidgets_USE_FILE}) | ||
|
||
target_link_libraries(InitialSetup ${wxWidgets_LIBRARIES} pambase) | ||
|
||
|
||
|
||
set_property(TARGET InitialSetup PROPERTY CXX_STANDARD 14) | ||
set_target_properties(InitialSetup PROPERTIES RUNTIME_OUTPUT_DIRECTORY "../../bin/") | ||
|
||
|
||
#linux specific | ||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
install(TARGETS InitialSetup RUNTIME DESTINATION /usr/local/bin) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import subprocess | ||
|
||
def get_git_log(project, commit): | ||
cmd = 'git' | ||
log = 'log' | ||
grep="--grep=" | ||
log_format ='--pretty=%s' | ||
|
||
|
||
|
||
output = subprocess.check_output([cmd, log, grep+project+commit, log_format]).decode('utf-8') | ||
lines = output.splitlines() | ||
|
||
print(lines) | ||
|
||
def get_git_project_log(project): | ||
improvement = "improvement" | ||
feat = "feat" | ||
perf = "perf" | ||
fix = "fix" | ||
|
||
get_git_log(project, feat) | ||
get_git_log(project, improvement) | ||
get_git_log(project, perf) | ||
get_git_log(project, fix) | ||
|
||
def create_release(): | ||
#find all CMakelists.txt files | ||
#get the git log for the project name defined in the file | ||
#add the binary path/name to what our tar list | ||
## | ||
|
||
get_git_project_log('') | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
if __name__ == '__main__': | ||
create_release() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
project(dosetup LANGUAGES CXX VERSION 1.0.0.0) | ||
|
||
execute_process(COMMAND ${CMAKE_COMMAND} -DNAMESPACE=${PROJECT_NAME} -DMAJOR=${PROJECT_VERSION_MAJOR} -DMINOR=${PROJECT_VERSION_MINOR} -DPATCH=${PROJECT_VERSION_PATCH} -P ${CMAKE_SOURCE_DIR}/version.cmake) | ||
|
||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) | ||
|
||
include_directories("../pambase/") | ||
include_directories(${CMAKE_BINARY_DIR}/include) | ||
|
||
link_directories("../lib") | ||
|
||
set(SOURCES "main.cpp" "logtofile.cpp" ${CMAKE_BINARY_DIR}/src/${PROJECT_NAME}_version.cpp) | ||
|
||
add_executable(dosetup ${SOURCES}) | ||
|
||
list(APPEND flags "-fPIC" "-Wall" "-fpermissive" "-O3") | ||
target_compile_options(dosetup PRIVATE ${flags}) | ||
target_compile_definitions(dosetup PUBLIC NDEBUG DLL_EXPORTS wxUSE_UNICODE __WXGNU__ CREATING_LEVELDLL _app_ _MSL_STDINT_H) | ||
target_link_libraries(dosetup pml_log) | ||
|
||
|
||
|
||
set_property(TARGET dosetup PROPERTY CXX_STANDARD 14) | ||
set_target_properties(dosetup PROPERTIES RUNTIME_OUTPUT_DIRECTORY "../../bin/") | ||
|
||
|
||
#linux specific | ||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
install(TARGETS dosetup RUNTIME DESTINATION /usr/local/bin) | ||
endif() | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.