Skip to content

Commit

Permalink
Use versioned release of IR
Browse files Browse the repository at this point in the history
  • Loading branch information
srydell committed Mar 18, 2022
1 parent e07c5be commit d534c45
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
9 changes: 3 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16)

project(
Parser
VERSION 0.2.0
VERSION 0.2.1
LANGUAGES CXX)

configure_file(docs/ReleaseNotes/version.in
Expand Down Expand Up @@ -32,11 +32,8 @@ include(${modules}/StaticAnalyzers.cmake)
# Define enable_sanitizers
include(${modules}/Sanitizers.cmake)

FetchContent_Declare(
IRSpecification
GIT_REPOSITORY https://github.com/Tolc-Software/IntermediateRepresentation.git
GIT_TAG main)
FetchContent_MakeAvailable(IRSpecification)
include(${modules}/GetIR.cmake)
get_ir(VERSION v0.11.0)

FetchContent_Declare(
ctre_content
Expand Down
1 change: 0 additions & 1 deletion cmake/packaging/IRConfig.cmake

This file was deleted.

3 changes: 3 additions & 0 deletions docs/ReleaseNotes/v0.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Internal ##

* Use versioned release of IR
6 changes: 0 additions & 6 deletions tools/packaging/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ install(
DESTINATION
.)

# Export IR
install(TARGETS IR EXPORT IRTargets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/IR)
install(EXPORT IRTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IR NAMESPACE IR::)
install(FILES ${CMAKE_SOURCE_DIR}/cmake/packaging/IRConfig.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IR)

set(CPACK_VERBATIM_VARIABLES YES)
# Allow packaging
include(CPack)

0 comments on commit d534c45

Please sign in to comment.